package pl.edu.pk.adcampaignfacebook.dto;

import pl.edu.pk.adcampaignfacebook.helpers.EqualsUtil;


public class UserService {
	public UserService() {
	}

	private Long id;
	private Long userId;
	private String name;
	private String idOnService;
	private String serviceName;
	private String token;
	private String secretToken;

	
	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdOnService() {
		return idOnService;
	}

	public void setIdOnService(String idOnService) {
		this.idOnService = idOnService;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getSecretToken() {
		return secretToken;
	}

	public void setSecretToken(String secretToken) {
		this.secretToken = secretToken;
	}
	
	public boolean equals(Object a_that)
	{
		if (this == a_that) return true;
		if ( !(a_that instanceof UserService)) return false;
		UserService that = (UserService)a_that;
		return EqualsUtil.areEqual(this.name, that.name) &&
		EqualsUtil.areEqual(this.serviceName, that.serviceName);
	}



	

}
